//
// Created by 26364 on 2025/10/31.
//

#ifndef BOOTLOADER_MY_UART_H
#define BOOTLOADER_MY_UART_H
#include "main.h"
typedef void (*update_callback_uart_t)(uint8_t flag);
void firmware_upgrade_Init(void);
void firmware_upgrade_Loop();
void set_update_uart_complete_callback(update_callback_uart_t callback);
void set_update_uart_Begin_callback(update_callback_uart_t callback);
void set_update_uart_Block_callback(update_callback_uart_t callback);
#endif //BOOTLOADER_MY_UART_H
